﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true"
    CodeBehind="AddTrustRegion.aspx.cs" Inherits="MockPrjTeam2.Pages.Forms.AddTrustRegion" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="grid740 simplebox relative">
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="trustregion"
            ForeColor="Red" />
        <div id="tabs">
    <table style="width: 100%">
        <tr>
            <td colspan="2" style="font-family: Arial, Helvetica, sans-serif; font-size: large;
                font-weight: bold; color: #639A18">
                Add Trust Region
            </td>
        </tr>
        <tr>
            <td style="height: 20px; width: 125px; font-weight: bold">
                Details
            </td>
            <td style="height: 20px">
                <div align="right" style="width: 100%">
                    <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" Width="82px" ValidationGroup="trustregion"/>
                    <asp:Button ID="btnBack" runat="server" Text="Back" PostBackUrl="TrustRegionDetails.aspx"
                        Width="82px" />
                </div>
            </td>
        </tr>
        <tr>
            <td style="width: 125px">
                <asp:Label ID="LabelCountry" runat="server" Text="Nation/Country" 
                    AssociatedControlID="DropDownListCountry"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListCountry" DataTextField="CountryName" DataValueField="CountryId"
                    runat="server" Width="160" CssClass="st-forminput">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 125px">
                <asp:Label ID="LabelTrustRegionName" runat="server" Text="Trust Region Name" 
                AssociatedControlID="TxtTrustRegionName"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredTrustDistrictName" runat="server" ErrorMessage=" * Please input Trust Region Name " 
                ValidationGroup="trustregion" ControlToValidate="TxtTrustRegionName" ForeColor="red" 
                SetFocusOnError="true" Display="Static">*</asp:RequiredFieldValidator>
            </td>
            <td>
                <asp:TextBox ID="TxtTrustRegionName" runat="server" Width="160px" CssClass="st-forminput" ValidationGroup="trustregion"></asp:TextBox>
                <asp:Label ID="lblCheckTrustRegionName" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width: 125px">
                <asp:Label ID="LabelDescription" runat="server" Text="Description" 
                AssociatedControlID="TxtDescription"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtDescription" runat="server" Width="160px" Height="52px" CssClass="st-forminput"></asp:TextBox>
            </td>
        </tr>
    </table></div></div>
</asp:Content>
